import request from '../utils/request'
import qs from  'qs'

export async function query(params) {

    return request(`http://192.168.0.120:3000/blog/${params.page}/${params.size}`)
}

export async function detail(params){
    return request(`http://192.168.0.120:3000/detail/${params.id}`)
}